package com.huaxia.day10;

public class FileFormatException extends Exception {

    private String exceptionDetail;

    private String reason;

    public FileFormatException(String reason, String exceptionDetail){
        this.reason = reason;
        this.exceptionDetail = exceptionDetail;
    }

    public String getExceptionDetail() {
        return exceptionDetail;
    }

    public String getReason() {
        return reason;
    }
}
